package cqrtplm.service;

import com.github.pagehelper.PageInfo;
import cqrtplm.entity.ObjectStorageDO;
import org.apache.ibatis.annotations.Param;

import java.math.BigInteger;

public interface ObjectStorageService {
    ObjectStorageDO selectOneByTypeDefName(String name);

    void saveObjectStorage(ObjectStorageDO objectStorage);

    PageInfo selectAll(int pageNum, int pageSize, String defName);

    void updateObjectStorage(ObjectStorageDO objectStorageDO);

    String selectTypeDisplayNameByTypeId(BigInteger typeId);
}
